package com.tch.bean;

/**
 * Book entity. @author MyEclipse Persistence Tools
 */

public class Book implements java.io.Serializable {

	// Fields

	private long nid;
	private String bookname;
	private String price;

	// Constructors

	/** default constructor */
	public Book() {
	}

	/** full constructor */
	public Book(String bookname, String price) {
		this.bookname = bookname;
		this.price = price;
	}

	// Property accessors

	public long getNid() {
		return this.nid;
	}

	public void setNid(long nid) {
		this.nid = nid;
	}

	public String getBookname() {
		return this.bookname;
	}

	public void setBookname(String bookname) {
		this.bookname = bookname;
	}

	public String getPrice() {
		return this.price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

}